package com.muyu.danmo.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Administrator
 */

@Getter
@AllArgsConstructor
public enum Condition {
    DRAFT("草稿",0),
    NOT_REVIEWED("待审核",1),
    review_complete("审核完成",3),
    UNDER_REVIEW("审核中",2);


    private final String name;

    @JsonValue
    @EnumValue
    private final int code;
}
